<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>JSON Voorhees: jsonv::detail::string_view Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script src="http://www.mathjax.org/mathjax/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">JSON Voorhees
   </div>
   <div id="projectbrief">Killer JSON for C++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classjsonv_1_1detail_1_1string__view.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classjsonv_1_1detail_1_1string__view-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">jsonv::detail::string_view Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A non-owning reference to an <code>std::string</code>, as proposed to the C++ Standard Committee by Jeffrey Yasskin in N3921 (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3921.html">http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3921.html</a>).  
 <a href="classjsonv_1_1detail_1_1string__view.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="detail_2string__view_8hpp_source.html">jsonv/detail/string_view.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a3e4fc221153cb67539179c9ee5cce437"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3e4fc221153cb67539179c9ee5cce437"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>value_type</b> = char</td></tr>
<tr class="separator:a3e4fc221153cb67539179c9ee5cce437"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5248dd0bf9c8aa84a293cfeaccc7d71f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5248dd0bf9c8aa84a293cfeaccc7d71f"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>pointer</b> = const value_type *</td></tr>
<tr class="separator:a5248dd0bf9c8aa84a293cfeaccc7d71f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cd4fbec519ecbd4079befb3c5cea2c5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3cd4fbec519ecbd4079befb3c5cea2c5"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>reference</b> = const value_type &amp;</td></tr>
<tr class="separator:a3cd4fbec519ecbd4079befb3c5cea2c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1f0776b025b3f70335ffed1302f7302"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1f0776b025b3f70335ffed1302f7302"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>const_reference</b> = const value_type &amp;</td></tr>
<tr class="separator:ad1f0776b025b3f70335ffed1302f7302"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbb64ab56f604d48822bc631283b1f72"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acbb64ab56f604d48822bc631283b1f72"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>iterator</b> = pointer</td></tr>
<tr class="separator:acbb64ab56f604d48822bc631283b1f72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa919ca62984989e1ee27d21f96fd45af"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa919ca62984989e1ee27d21f96fd45af"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>const_iterator</b> = pointer</td></tr>
<tr class="separator:aa919ca62984989e1ee27d21f96fd45af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb98da18bc1c3f54d2c063e4faa7ffb1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adb98da18bc1c3f54d2c063e4faa7ffb1"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>reverse_iterator</b> = std::reverse_iterator&lt; iterator &gt;</td></tr>
<tr class="separator:adb98da18bc1c3f54d2c063e4faa7ffb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b5a2d13c989b83589ea88d8e12ee757"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b5a2d13c989b83589ea88d8e12ee757"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>const_reverse_iterator</b> = std::reverse_iterator&lt; const_iterator &gt;</td></tr>
<tr class="separator:a2b5a2d13c989b83589ea88d8e12ee757"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2dddd1d360da5a386d1486d918b37fa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2dddd1d360da5a386d1486d918b37fa"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>size_type</b> = std::size_t</td></tr>
<tr class="separator:aa2dddd1d360da5a386d1486d918b37fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf55c129a0c6d2fc47a7893382e628b4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abf55c129a0c6d2fc47a7893382e628b4"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>difference_type</b> = std::ptrdiff_t</td></tr>
<tr class="separator:abf55c129a0c6d2fc47a7893382e628b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a47af95d1d34814298177adf11228baee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47af95d1d34814298177adf11228baee"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>string_view</b> (pointer p) noexcept</td></tr>
<tr class="separator:a47af95d1d34814298177adf11228baee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebee40ec7913066bb54c3576537ac27b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aebee40ec7913066bb54c3576537ac27b"></a>
constexpr&#160;</td><td class="memItemRight" valign="bottom"><b>string_view</b> (pointer p, size_type len) noexcept</td></tr>
<tr class="separator:aebee40ec7913066bb54c3576537ac27b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87d2117ba77e404df5e3b0ee721e5bf6"><td class="memTemplParams" colspan="2"><a class="anchor" id="a87d2117ba77e404df5e3b0ee721e5bf6"></a>
template&lt;typename UAllocator &gt; </td></tr>
<tr class="memitem:a87d2117ba77e404df5e3b0ee721e5bf6"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><b>string_view</b> (const std::basic_string&lt; value_type, std::char_traits&lt; value_type &gt;, UAllocator &gt; &amp;src) noexcept(noexcept(src.data())&amp;&amp;noexcept(src.length()))</td></tr>
<tr class="separator:a87d2117ba77e404df5e3b0ee721e5bf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6eec44994ce901f3a01c2c8723183ead"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6eec44994ce901f3a01c2c8723183ead"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>string_view</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;) noexcept=default</td></tr>
<tr class="separator:a6eec44994ce901f3a01c2c8723183ead"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e80f2fe0322314fa10f2796c7c3134d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e80f2fe0322314fa10f2796c7c3134d"></a>
<a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;) noexcept=default</td></tr>
<tr class="separator:a1e80f2fe0322314fa10f2796c7c3134d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b20a8b47702298e4a11da3876b96289"><td class="memTemplParams" colspan="2"><a class="anchor" id="a0b20a8b47702298e4a11da3876b96289"></a>
template&lt;typename UAllocator &gt; </td></tr>
<tr class="memitem:a0b20a8b47702298e4a11da3876b96289"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator std::basic_string&lt; value_type, std::char_traits&lt; value_type &gt;, UAllocator &gt;</b> () const </td></tr>
<tr class="separator:a0b20a8b47702298e4a11da3876b96289"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc0f4f13b7e4fd2f7458c3645300786c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc0f4f13b7e4fd2f7458c3645300786c"></a>
constexpr size_type&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> () const noexcept</td></tr>
<tr class="separator:adc0f4f13b7e4fd2f7458c3645300786c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a885248ba821f6d92b4eb8ed42c7a5530"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a885248ba821f6d92b4eb8ed42c7a5530"></a>
constexpr size_type&#160;</td><td class="memItemRight" valign="bottom"><b>max_size</b> () const noexcept</td></tr>
<tr class="separator:a885248ba821f6d92b4eb8ed42c7a5530"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb867f60a1f8432d992c244b06f3e999"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb867f60a1f8432d992c244b06f3e999"></a>
constexpr size_type&#160;</td><td class="memItemRight" valign="bottom"><b>length</b> () const noexcept</td></tr>
<tr class="separator:afb867f60a1f8432d992c244b06f3e999"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0806c712f9b0e2e3ecc35c4dc57ffab1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0806c712f9b0e2e3ecc35c4dc57ffab1"></a>
constexpr bool&#160;</td><td class="memItemRight" valign="bottom"><b>empty</b> () const noexcept</td></tr>
<tr class="separator:a0806c712f9b0e2e3ecc35c4dc57ffab1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cb3f1e24dafe5b31e78d0f52c881c75"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3cb3f1e24dafe5b31e78d0f52c881c75"></a>
constexpr const_reference&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (size_type idx) const </td></tr>
<tr class="separator:a3cb3f1e24dafe5b31e78d0f52c881c75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a578468221bb4c0dddd74343549302239"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a578468221bb4c0dddd74343549302239"></a>
const_reference&#160;</td><td class="memItemRight" valign="bottom"><b>at</b> (size_type idx) const </td></tr>
<tr class="separator:a578468221bb4c0dddd74343549302239"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a667a84657e51d99aca6c470e5807091d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a667a84657e51d99aca6c470e5807091d"></a>
constexpr const_reference&#160;</td><td class="memItemRight" valign="bottom"><b>front</b> () const </td></tr>
<tr class="separator:a667a84657e51d99aca6c470e5807091d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ae49ba22a365b80adc17f0ed6316417"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ae49ba22a365b80adc17f0ed6316417"></a>
constexpr const_reference&#160;</td><td class="memItemRight" valign="bottom"><b>back</b> () const </td></tr>
<tr class="separator:a0ae49ba22a365b80adc17f0ed6316417"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7766b7e42f4fa6ee3b148ca51fc6abf2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7766b7e42f4fa6ee3b148ca51fc6abf2"></a>
constexpr pointer&#160;</td><td class="memItemRight" valign="bottom"><b>data</b> () const </td></tr>
<tr class="separator:a7766b7e42f4fa6ee3b148ca51fc6abf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dac5e89c288532263b7bbb3f04ca50b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7dac5e89c288532263b7bbb3f04ca50b"></a>
constexpr const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>begin</b> () const </td></tr>
<tr class="separator:a7dac5e89c288532263b7bbb3f04ca50b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b4403e0ff37b0c2ded8e923223c89df"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b4403e0ff37b0c2ded8e923223c89df"></a>
constexpr const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>cbegin</b> () const </td></tr>
<tr class="separator:a6b4403e0ff37b0c2ded8e923223c89df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3671e7e58001be4cb3026941af23ec05"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3671e7e58001be4cb3026941af23ec05"></a>
constexpr const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>end</b> () const </td></tr>
<tr class="separator:a3671e7e58001be4cb3026941af23ec05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a8237671d76b5d132509def8d41c805"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9a8237671d76b5d132509def8d41c805"></a>
constexpr const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>cend</b> () const </td></tr>
<tr class="separator:a9a8237671d76b5d132509def8d41c805"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f98f10b62cf4e9dab785513af65f3e0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f98f10b62cf4e9dab785513af65f3e0"></a>
const_reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>rbegin</b> () const </td></tr>
<tr class="separator:a2f98f10b62cf4e9dab785513af65f3e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe650bdcce8363aa609c6e584e827701"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe650bdcce8363aa609c6e584e827701"></a>
const_reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>crbegin</b> () const </td></tr>
<tr class="separator:abe650bdcce8363aa609c6e584e827701"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92df9dc5804d17c692469acd58c9ac6d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a92df9dc5804d17c692469acd58c9ac6d"></a>
const_reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>rend</b> () const </td></tr>
<tr class="separator:a92df9dc5804d17c692469acd58c9ac6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f141287db947b6e7c974f4a66eb0c35"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4f141287db947b6e7c974f4a66eb0c35"></a>
const_reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>crend</b> () const </td></tr>
<tr class="separator:a4f141287db947b6e7c974f4a66eb0c35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11fdf7aae6830d2b01b4da988dc52db4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a11fdf7aae6830d2b01b4da988dc52db4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>clear</b> ()</td></tr>
<tr class="separator:a11fdf7aae6830d2b01b4da988dc52db4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6027f852836869d7cf2fcf733169565"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6027f852836869d7cf2fcf733169565"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>remove_prefix</b> (size_type n)</td></tr>
<tr class="separator:ae6027f852836869d7cf2fcf733169565"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42e677a67980af2b8c2846f3d748da1d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a42e677a67980af2b8c2846f3d748da1d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>remove_suffix</b> (size_type n)</td></tr>
<tr class="separator:a42e677a67980af2b8c2846f3d748da1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8053f4805f5c0d018721804ae65cd46"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af8053f4805f5c0d018721804ae65cd46"></a>
<a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a>&#160;</td><td class="memItemRight" valign="bottom"><b>substr</b> (size_type idx, size_type count=npos) const </td></tr>
<tr class="separator:af8053f4805f5c0d018721804ae65cd46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b82e8d799233d71b327df65cfc742f6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b82e8d799233d71b327df65cfc742f6"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>starts_with</b> (value_type val) const </td></tr>
<tr class="separator:a6b82e8d799233d71b327df65cfc742f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae997600c046ecb27a1198cea1cafbed9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae997600c046ecb27a1198cea1cafbed9"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>starts_with</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;sub) const </td></tr>
<tr class="separator:ae997600c046ecb27a1198cea1cafbed9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18c63bb5f397e38ab9724cfb132779d5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18c63bb5f397e38ab9724cfb132779d5"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>ends_with</b> (value_type val) const </td></tr>
<tr class="separator:a18c63bb5f397e38ab9724cfb132779d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3667baab41e549be0135eab0e667d007"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3667baab41e549be0135eab0e667d007"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>ends_with</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;sub) const </td></tr>
<tr class="separator:a3667baab41e549be0135eab0e667d007"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a739fa10965364f3cb54a5bbc233030f2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a739fa10965364f3cb54a5bbc233030f2"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;sub) const </td></tr>
<tr class="separator:a739fa10965364f3cb54a5bbc233030f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05445500136f3fddb2956e08ba1b8d28"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05445500136f3fddb2956e08ba1b8d28"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find</b> (value_type val) const </td></tr>
<tr class="separator:a05445500136f3fddb2956e08ba1b8d28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d62932ccf9513785b0ee6f3d3df20fb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d62932ccf9513785b0ee6f3d3df20fb"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>rfind</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;sub) const </td></tr>
<tr class="separator:a9d62932ccf9513785b0ee6f3d3df20fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad97428cd827226e45c7c503e197db8d5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad97428cd827226e45c7c503e197db8d5"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>rfind</b> (value_type val) const </td></tr>
<tr class="separator:ad97428cd827226e45c7c503e197db8d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98db4a148f35999844e1706e87de6d29"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a98db4a148f35999844e1706e87de6d29"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_first_of</b> (value_type val) const </td></tr>
<tr class="separator:a98db4a148f35999844e1706e87de6d29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49e1b092d8b4e4987e7acb8228930830"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a49e1b092d8b4e4987e7acb8228930830"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_first_of</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;chars) const </td></tr>
<tr class="separator:a49e1b092d8b4e4987e7acb8228930830"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab604d95a5759e72333794010073a0025"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab604d95a5759e72333794010073a0025"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_first_not_of</b> (value_type val) const </td></tr>
<tr class="separator:ab604d95a5759e72333794010073a0025"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6668ad836a30f6695301056f9532b166"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6668ad836a30f6695301056f9532b166"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_first_not_of</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;chars) const </td></tr>
<tr class="separator:a6668ad836a30f6695301056f9532b166"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc6ebcf12c75f5c7c23699e4c862f558"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc6ebcf12c75f5c7c23699e4c862f558"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_last_of</b> (value_type val) const </td></tr>
<tr class="separator:adc6ebcf12c75f5c7c23699e4c862f558"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ea9745b296d7b779fe5e164c2f2c449"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2ea9745b296d7b779fe5e164c2f2c449"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_last_of</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;chars) const </td></tr>
<tr class="separator:a2ea9745b296d7b779fe5e164c2f2c449"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92c7df5bf8f742f82078a3a81ea9f650"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a92c7df5bf8f742f82078a3a81ea9f650"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_last_not_of</b> (value_type val) const </td></tr>
<tr class="separator:a92c7df5bf8f742f82078a3a81ea9f650"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2f0ca65563c29dd28d05ed79958c755"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2f0ca65563c29dd28d05ed79958c755"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_last_not_of</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;chars) const </td></tr>
<tr class="separator:aa2f0ca65563c29dd28d05ed79958c755"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e94c53a940092f693fecc12c02fe6ac"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e94c53a940092f693fecc12c02fe6ac"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;other) const </td></tr>
<tr class="separator:a7e94c53a940092f693fecc12c02fe6ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20305c79a1ab190ef712e385aa8fcc2d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20305c79a1ab190ef712e385aa8fcc2d"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;other) const </td></tr>
<tr class="separator:a20305c79a1ab190ef712e385aa8fcc2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bdc201273101015aeee1de1e5d9d684"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6bdc201273101015aeee1de1e5d9d684"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;other) const </td></tr>
<tr class="separator:a6bdc201273101015aeee1de1e5d9d684"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac81c1d4250afaa1a87b393cc6b494893"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac81c1d4250afaa1a87b393cc6b494893"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;=</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;other) const </td></tr>
<tr class="separator:ac81c1d4250afaa1a87b393cc6b494893"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab34a9e74e0865cac4bb1a1b19c7ade30"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab34a9e74e0865cac4bb1a1b19c7ade30"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator&gt;</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;other) const </td></tr>
<tr class="separator:ab34a9e74e0865cac4bb1a1b19c7ade30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ec8399db20ffe34b3d0e4bc7c1a33c9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ec8399db20ffe34b3d0e4bc7c1a33c9"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator&gt;=</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;other) const </td></tr>
<tr class="separator:a8ec8399db20ffe34b3d0e4bc7c1a33c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:ad07cd920651939c5ee622fab0f6373ef"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad07cd920651939c5ee622fab0f6373ef"></a>
static constexpr size_type&#160;</td><td class="memItemRight" valign="bottom"><b>npos</b> = size_type(~0)</td></tr>
<tr class="separator:ad07cd920651939c5ee622fab0f6373ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a798134cc544312159dc5617b0579cb1b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a798134cc544312159dc5617b0579cb1b"></a>
std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;&lt;</b> (std::ostream &amp;os, const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;self)</td></tr>
<tr class="separator:a798134cc544312159dc5617b0579cb1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A non-owning reference to an <code>std::string</code>, as proposed to the C++ Standard Committee by Jeffrey Yasskin in N3921 (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3921.html">http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3921.html</a>). </p>
<p>Unlike the one proposed, this is not templated over the <code>char</code> type, as this project only deals with UTF-8 encoded strings. </p>

<p>Definition at line <a class="el" href="detail_2string__view_8hpp_source.html#l00034">34</a> of file <a class="el" href="detail_2string__view_8hpp_source.html">string_view.hpp</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>jsonv/detail/<a class="el" href="detail_2string__view_8hpp_source.html">string_view.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>jsonv</b></li><li class="navelem"><b>detail</b></li><li class="navelem"><a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
